package com.emergency.db.service.item;

import com.emergency.db.domain.item.Item;
import com.emergency.db.domain.staff.Staff;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

public interface ItemService {
    Long save(Item item);

    Item findById(Long id);

    void saveAll(List<Item> itemList);

    List<Item> findAll();

    void delete(Long id);

    Page<Item> findList(Map searchMap, int page, int size);
}
